﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Draglets.UI
{
    [ToolboxData("<{0}:WidgetHeader runat=server></{0}:WidgetHeader>")]
    public class WidgetHeader : Panel
    {
        protected override void OnLoad(EventArgs e)
        {
            EnableViewState = false;
            this.CssClass = "dragletsWidgetHeader ui-widget-header";
            this.Controls.Add(new LiteralControl("<button class=\"config\">Config</button>"));
            this.Controls.Add(new LiteralControl("<button class=\"toggle\">Toggle</button>"));
            base.OnLoad(e);
        }
    }
}
